package top.deepdesigner.service;

import top.deepdesigner.pojo.DtsAd;

import java.util.List;

/**
 * Start up <br/>
 * Created with IntelliJ IDEA. <br/>
 * Project Name: shop_manage <br/>
 * Author: duanruiqing <br/>
 * DateTime: 2022/9/24 星期六 15:54:31 <br/>
 */
public interface DtsAdService {
  Long getAdCount();

  List<DtsAd> getAdList(Integer page, Integer limit, String sort, String order, String name, String content);

  DtsAd createAd(DtsAd ad);

  DtsAd getAdById(Integer id);

  DtsAd updateAd(DtsAd ad);

  void deleteAd(DtsAd ad);
}
